package utility;

import org.apache.log4j.Logger;


public class Log {

	public static void startTC(String TCName) {
		Log.info("*******************************************");
		Log.info("**************BEGIN TEST CASE**************");
		Log.info("**************"+TCName+"**************");
		Log.info("*******************************************");
	}
	
	
	public static void endTC() {
		Log.info("*******************************************");
		Log.info("***************END TEST CASE***************");
		Log.info("*******************************************");
		
	}
	
	public static void info(String message) {	 
		Log.info(message); 
	}
	 
	 public static void warn(String message) { 
		Log.warn(message); 
	}
	 
	public static void error(String message) {
		Log.error(message); 
	}
	 
	public static void fatal(String message) { 
		Log.fatal(message);
	}
	 
	public static void debug(String message) { 
		Log.debug(message); 
	}	 
	 
	private static Logger Log = Logger.getLogger(Log.class.getName());
}
